<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/tld/genapha.tld" prefix="genapha" %>

<html:form action="/generate-analysis-file">
<table >

    <tr>
        <td>SNPs: </td>
        <td>
            <html:textarea property="snpList" />

        </td>
    </tr>

    <tr>
        <td>

            Genes:
        </td>
        <td>
            <html:textarea property="geneList" />

        </td>
    </tr>

     <tr>
        <td>

            Phenotype:
        </td>
        <td>
        <bean:define id="phenotypeList" name="generateAnalysisFileForm" property="phenotypeList"/>


          <html:select property="phenotype" >
            <html:option value="phenotype">Choose a phenotype</html:option>

                <html:options collection="phenotypeList" property="value" labelProperty="label" />
          </html:select>


        </td>
    </tr>

     <tr>
        <td>

            Cohort:
        </td>
        <td>
        <bean:define id="cohortList" name="generateAnalysisFileForm" property="cohortList"/>


          <html:select property="cohort" >
            <html:option value="cohort">Choose a Cohort</html:option>

                <html:options collection="cohortList" property="value" labelProperty="label" />
          </html:select>


        </td>
    </tr>

    <tr>
        <td>

            OutputFormat:
        </td>
        <td>
        <bean:define id="formatList" name="generateAnalysisFileForm" property="formatList"/>


          <html:select property="format" >
                <html:options collection="formatList" property="value" labelProperty="label" />
          </html:select>


        </td>
    </tr>

    <tr>
        <td>
        <INPUT type="submit" name="action" value="Generate">

        </td>
    </tr>
</table>

</html:form>